package com.aioething.iot.dao;

import com.aioething.iot.dto.FirmwareDto;
import com.aioething.iot.model.Firmware;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FirmwareDao {
    int insertSelective(Firmware Firmware);
    int deleteByPrimaryKey(String firmwareId);
    Firmware selectByPrimaryKey(String firmwareId);
    Firmware selectByProductVersion(@Param("productId") String productId, @Param("version") String version);
    List<Firmware> query(FirmwareDto firmwareDto);
}
